package com.lingchou.cloud.process.api.dto.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Getter
@Setter
@ApiModel(value = "AddSignVo", description = "加签参数类")
public class AddSignVo implements Serializable {

    private static final long serialVersionUID = 4863616522658452075L;
    /**
     * 任务ID
     */
    @ApiModelProperty(value = "任务ID")
    @NotBlank(message = "任务ID不能为空")
    private String taskId;

    /**
     * 加签人ID
     */
    @ApiModelProperty(value = "加签人ID")
    @NotBlank(message = "加签人ID必传")
    private String userId;

    /**
     * 当前操作人
     */
    @ApiModelProperty(value = "当前操作人")
    @NotBlank(message = "当前操作人不能为空")
    private String operator;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注",required = true)
    @Size(max = 100,message = "字符限制100")
    private String comment;
}
